get_full_factorial_matrix_size Subroutine

public subroutine get_full_factorial_matrix_size(vars, m, n)

Computes the appropriate size for a full-factorial design table.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: vars(:)

An M-element array containing the M factors to study. Each of the M entries to the array is expected to contain the number of options for that particular factor to explore.
This value must be greater than or equal to 1.

integer(kind=int32), intent(out) :: m

The number of rows for the table.

integer(kind=int32), intent(out) :: n

The number of columns for the table.